翻訳と辞書
Words near each other
・ Spurgle
・ SpurguX
・ Spurilla
・ Spurilla faustina
・ Spurilla neapolitana
・ Spurinna
・ Spurion
・ Spurious
・ Spurious correlation
・ Spurious diphthong
・ Spurious emission
・ Spurious languages
・ Spurious relationship
・ Spurious tone
・ Spurious trip level
Spurious wakeup
・ Spurious-free dynamic range
・ Spurius
・ Spurius (disambiguation)
・ Spurius (praenomen)
・ Spurius Antius
・ Spurius bicornis
・ Spurius Carvilius (171 BC)
・ Spurius Carvilius (tribune)
・ Spurius Carvilius Maximus
・ Spurius Carvilius Maximus Ruga
・ Spurius Carvilius Ruga
・ Spurius Cassius Viscellinus
・ Spurius Furius Medullinus Fusus (consul 481 BC)
・ Spurius Lartius


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Spurious wakeup : ウィキペディア英語版
Spurious wakeup
Spurious wakeup describes a complication in the use of condition variables as provided by certain multithreading APIs such as POSIX Threads and the Windows API.
Even after a condition variable appears to have been signaled from a waiting thread's point of view, the condition that was awaited may still be false. One of the reasons for this is a spurious wakeup; that is, a thread might be awoken from its waiting state even though no thread signaled the condition variable. For correctness it is necessary, then, to verify that the condition is indeed true after the thread has finished waiting. Because spurious wakeup can happen repeatedly, this is achieved by waiting inside a loop that terminates when the condition is true, for example:

/
* In any waiting thread:
*/
while(!buf->full)

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Spurious wakeup」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.